package com.example.layui.vo;


import java.io.Serializable;
import java.util.List;

public class MenuVo implements Serializable {
    // 菜单id
    private Integer id;
    // 菜单名称
    private String name;
    // 父菜单id
    private Integer parentId;
    // 子菜单
    private List<MenuVo> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setChildren(List<MenuVo> children) {
        this.children = children;
    }

    public List<MenuVo> getChildren() {
        return this.children;
    }
}
